package com.eip.zd.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class User {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId
    private Long id;
    private String userId;
    private String name;
    private String password;
    @TableField("`limit`")
    private String limit;
    private String depart;
    private String job;
    private String phone;
    private String startDate;
    private String endDate;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    private Integer deleted;
}
